3.2.92 \(\int (a (b x^n)^p)^q \, dx\) [192]

Optimal. Leaf size=21 \[ \frac {x \left (a \left (b x^n\right )^p\right )^q}{1+n p q} \]

[Out]

x*(a*(b*x^n)^p)^q/(n*p*q+1)

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 21, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {1971, 30} \begin {gather*} \frac {x \left (a \left (b x^n\right )^p\right )^q}{n p q+1} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a*(b*x^n)^p)^q,x]

[Out]

(x*(a*(b*x^n)^p)^q)/(1 + n*p*q)

Rule 30

Int[(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)/(m + 1), x] /; FreeQ[m, x] && NeQ[m, -1]

Rule 1971

Int[(u_.)*((c_.)*((d_.)*((a_.) + (b_.)*(x_))^(n_))^(q_))^(p_), x_Symbol] :> Dist[(c*(d*(a + b*x)^n)^q)^p/(a +
b*x)^(n*p*q), Int[u*(a + b*x)^(n*p*q), x], x] /; FreeQ[{a, b, c, d, n, q, p}, x] &&  !IntegerQ[q] &&  !Integer
Q[p]

Rubi steps

\begin {align*} \int \left (a \left (b x^n\right )^p\right )^q \, dx &=\left (x^{-n p q} \left (a \left (b x^n\right )^p\right )^q\right ) \int x^{n p q} \, dx\\ &=\frac {x \left (a \left (b x^n\right )^p\right )^q}{1+n p q}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.00, size = 21, normalized size = 1.00 \begin {gather*} \frac {x \left (a \left (b x^n\right )^p\right )^q}{1+n p q} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(a*(b*x^n)^p)^q,x]

[Out]

(x*(a*(b*x^n)^p)^q)/(1 + n*p*q)

________________________________________________________________________________________

Maple [A]
time = 0.05, size = 22, normalized size = 1.05

method result size
gosper \(\frac {x \left (a \left (b \,x^{n}\right )^{p}\right )^{q}}{n p q +1}\) \(22\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a*(b*x^n)^p)^q,x,method=_RETURNVERBOSE)

[Out]

x*(a*(b*x^n)^p)^q/(n*p*q+1)

________________________________________________________________________________________

Maxima [A]
time = 0.39, size = 25, normalized size = 1.19 \begin {gather*} \frac {a^{q} b^{p q} x {\left ({\left (x^{n}\right )}^{p}\right )}^{q}}{n p q + 1} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*(b*x^n)^p)^q,x, algorithm="maxima")

[Out]

a^q*b^(p*q)*x*((x^n)^p)^q/(n*p*q + 1)

________________________________________________________________________________________

Fricas [A]
time = 0.36, size = 27, normalized size = 1.29 \begin {gather*} \frac {x e^{\left (n p q \log \left (x\right ) + p q \log \left (b\right ) + q \log \left (a\right )\right )}}{n p q + 1} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*(b*x^n)^p)^q,x, algorithm="fricas")

[Out]

x*e^(n*p*q*log(x) + p*q*log(b) + q*log(a))/(n*p*q + 1)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (a \left (b x^{n}\right )^{p}\right )^{q}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*(b*x**n)**p)**q,x)

[Out]

Integral((a*(b*x**n)**p)**q, x)

________________________________________________________________________________________

Giac [A]
time = 2.74, size = 27, normalized size = 1.29 \begin {gather*} \frac {x e^{\left (n p q \log \left (x\right ) + p q \log \left (b\right ) + q \log \left (a\right )\right )}}{n p q + 1} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*(b*x^n)^p)^q,x, algorithm="giac")

[Out]

x*e^(n*p*q*log(x) + p*q*log(b) + q*log(a))/(n*p*q + 1)

________________________________________________________________________________________

Mupad [B]
time = 0.98, size = 21, normalized size = 1.00 \begin {gather*} \frac {x\,{\left (a\,{\left (b\,x^n\right )}^p\right )}^q}{n\,p\,q+1} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a*(b*x^n)^p)^q,x)

[Out]

(x*(a*(b*x^n)^p)^q)/(n*p*q + 1)

________________________________________________________________________________________